package com.ljq;

import com.ljq.Creature.Person;
import com.ljq.Transport.Airship;
import com.ljq.Transport.Bicycle;

public class Main {

    public static void main(String[] args) {
	// write your code here
        Person tom = new Person("2019001","tom",20,"male");


        Airship tomAirship = new Airship();
        tomAirship.setId("airship1");
        tom.drivingTransport(tomAirship);

        Bicycle tomBicycle = new Bicycle();
        tomBicycle.setId("bicycle1");
        tom.drivingTransport(tomBicycle);
    }
}
